package com.jnshu.dao;

import com.jnshu.dto.person.HistoryDto;
import com.jnshu.pojo.History;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xmp
 * @date 2019/8/21 5:33
 */
@Mapper
public interface HistoryMapper {
    List<HistoryDto> getHistory(long id,int type);

    List<History> selectHistory(@Param("userId") long userId);

    Boolean deleteHistory(@Param("userId")long userId);
}
